import { GroupNotificationItem } from "./types";

// 模拟数据
export const mockNotifications: GroupNotificationItem[] = [
  {
    id: "1",
    type: "dissolution",
    groupName: "程序员交流群",
    groupAvatar: "https://img.icons8.com/color/96/null/group.png",
    timestamp: Date.now() - 3600000, // 1小时前
    status: "unread",
    content: "我是一名UX设计师，希望加入这个群组，学习交流设计经验。",
  },
  {
    id: "2",
    type: "invitation",
    groupId: "g123",
    groupName: "React Native学习群",
    groupAvatar: "https://img.icons8.com/color/96/null/group.png",
    senderId: "u456",
    senderName: "张三",
    timestamp: Date.now() - 7200000, // 2小时前
    status: "unread",
    content: "我是一名UX设计师，希望加入这个群组，学习交流设计经验。",
  },
  {
    id: "3",
    type: "join_request",
    groupId: "g789",
    groupName: "前端技术交流群",
    groupAvatar: "https://img.icons8.com/color/96/null/group.png",
    senderId: "u111",
    senderName: "李四",
    timestamp: Date.now() - 86400000, // 1天前
    status: "unread",
    content: "我是一名UX设计师，希望加入这个群组，学习交流设计经验。",
  },
  {
    id: "4",
    type: "role_promoted",
    groupId: "g456",
    groupName: "产品设计讨论组",
    groupAvatar: "https://img.icons8.com/color/96/null/group.png",
    timestamp: Date.now() - 172800000, // 2天前
    roleChange: {
      oldRole: "member",
      newRole: "admin",
    },
    status: "read",
  },
  {
    id: "5",
    type: "role_demoted",
    groupId: "g789",
    groupName: "前端技术交流群",
    groupAvatar: "https://img.icons8.com/color/96/null/group.png",
    timestamp: Date.now() - 259200000, // 3天前
    roleChange: {
      oldRole: "admin",
      newRole: "member",
    },
    status: "processed",
    actionResult: "confirm",
  },
  {
    id: "6",
    type: "invitation",
    groupId: "g456",
    groupName: "UX设计师交流群",
    groupAvatar: "https://img.icons8.com/color/96/null/group.png",
    senderId: "u789",
    senderName: "王五",
    timestamp: Date.now() - 345600000, // 4天前
    status: "processed",
    actionResult: "accept",
    content: "我是一名UX设计师，希望加入这个群组，学习交流设计经验。",
  },
  {
    id: "7",
    type: "join_request",
    groupId: "g123",
    groupName: "iOS开发者社区",
    groupAvatar: "https://img.icons8.com/color/96/null/group.png",
    senderId: "u222",
    senderName: "赵六",
    timestamp: Date.now() - 432000000, // 5天前
    status: "processed",
    actionResult: "reject",
  },
];
